<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<h:head>
	<title>Modificar Producto</title>
</h:head>
<h:body>
	<h:form>
		<table width="50%" align="center" border="0">
			<tr>
				<td>ID</td>
				<td><h:inputText value="#{carritoMB.id}" /></td>
			</tr>
			
			<tr>
				<td>NOMBRE:</td>
				<td><h:inputText value="#{carritoMB.nombre}" /></td>
			</tr>
			<tr>
				<td>DESCRIPCION</td>
				<td><h:inputText value="#{carritoMB.descripcion}" /></td>
			</tr>
			<tr>
				<td>CATEGORIA:</td>
				<td><h:inputText value="#{carritoMB.categoria}" /></td>
			</tr>
			<tr>
				<td>CANTIDAD:</td>
				<td><h:inputText value="#{carritoMB.cantidad}" /></td>
			</tr>
			<tr>
				<td>PRECIO:</td>
				<td><h:inputText value="#{carritoMB.precio}" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><h:commandButton value="Modificar"
						action="#{carritoMB.modificar(carritoMB.id)}" /></td>
		</tr>
		
		</table>
	</h:form>

</h:body>
</html>